
package com.thxrinfo.stop.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.thxrinfo.stop.api.entity.Parking;
import com.thxrinfo.stop.api.vo.ParkingVO;
import com.thxrinfo.stop.mapper.ParkingMapper;
import com.thxrinfo.stop.service.ParkingService;
import org.springframework.stereotype.Service;

/**
 * 停车场表
 *
 * @author silencezheng
 * @date 2022-12-06 15:16:23
 */
@Service
public class ParkingServiceImpl extends ServiceImpl<ParkingMapper, Parking> implements ParkingService {

	@Override
	public IPage<ParkingVO> getParkingWithDeptPage(Page page, Parking parking) {
		return baseMapper.getParkingWithDeptPage(page, parking);
	}

	@Override
	public ParkingVO getParkingWithDept(Long id) {
		return baseMapper.getParkingWithDept(id);
	}

}
